<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{block name="title"}标题（模板）{/block}</title>
  <link rel="stylesheet" href="/plugin/layui/css/layui.css" />
  <link rel="stylesheet" href="/css/index.css" />
  <script src="/plugin/layui/layui.js"></script>
</head>

<body>
  <!-- 页头 -->
  <header>
    <ul class="layui-nav" lay-filter="">
      <li id="nav-home" class="layui-nav-item">
        <a href="/">首页（模板引擎）</a>
      </li>
      <li id="nav-route" class="layui-nav-item">
        <a href="/routeAndController/123?name=ye">路由与控制器</a>
      </li>
      <li id="nav-database" class="layui-nav-item">
        <a href="/database">数据库</a>
      </li>
      <li id="nav-model" class="layui-nav-item">
        <a href="/model">模型</a>
      </li>
      <li id="nav-log" class="layui-nav-item">
        <a href="/log">错误和日志</a>
      </li>
      <li id="nav-info" class="layui-nav-item">
        <a href="/info" target="_blank">php信息</a>
      </li>
    </ul>
  </header>

  <!-- 主体-->
  <div class="content">
    <!-- 子视图内容插入点 -->
    {block name="content"}内容（模板）{/block}
  </div>

  <!-- 页脚 -->
  <footer>
    页脚
  </footer>
</body>

</html>